package com.huangjue.backend.service;

import com.huangjue.backend.entity.StudentCourse;

public interface StudentCourseService {
    StudentCourse getByUserIdAndCourseId(Integer userId, Integer courseId);

    int save(StudentCourse studentCourse);

    int update(StudentCourse studentCourse);
    //是否选过该课程
    boolean isChooseCourse(Integer userId, Integer courseId);
    //选择该课程
    boolean chooseCourse(Integer userId, Integer courseId);

} 